<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>blog</title>
<link rel="stylesheet" href="__PUBLIC__/js/fontello/css/home.css">
<link rel="stylesheet" href="__PUBLIC__/css/common.css">
<link rel="stylesheet" href="__PUBLIC__/css/index.css">
</head>

<body>

<div class="sec">
	<!-- 顶部 -->
	<img id="title1" src="__PUBLIC__/images/background1.jpg" alt="">
	<img id="title2" src="__PUBLIC__/images/background2.png" alt="">
	<div class="login"><a href="#">登陆</a> | <a href="#">注册</a></div>
	<p class="title">我的微博</p>
	<div class="kong"></div>
	<!-- 顶部 end -->

	<!-- 导航 -->
	<ul class="nav">
		<li class="fl">
			<p>主页</p>
			<img src="__PUBLIC__/images/yinying.png" alt="">
		</li>
		<div class="clear"></div>
	</ul>
	<!-- 导航 end -->
	
	<!-- 内容 -->
	<div class="con">
		<div class="fl left">
			<div class="left_top">
				<p class="left_top1">个人信息</p>
				<img src="__PUBLIC__/images/remove.jpg" alt="">
				<p class="left_name">我的微博</p>
				<p class="left_button"><input type="button" value="加好友"><input type="button" value="加好友"><input type="button" value="加好友"><input type="button" value="加好友"></p>
				<ul class="left_down">
					<li>访问量：<strong>9,122,671,212</strong></li>
					<li>人气：<strong>232,191,672</strong></li>
					<li>博客等级：<strong>19</strong></li>
					<li>金币:<strong>9</strong></li>
				</ul>
			</div>
			<img src="__PUBLIC__/images/yinying.png" alt="">
		</div>
		<div class="fr right">
			<div class="right_top">
				<p class="right_top1">文章列表</p>
				<!-- 文章 -->
				<!-- <div class="clear"></div> -->
				<?php foreach($list as $row){ ?>
				<div class="list">
					<div class="list_top">
						<span class="icon-bookmark"></span>
						<!-- 题目 -->
						<a class="list_title" href="{:U('detail',array('id'=>$row['id']))}">{$row['title']}</a>
						<!-- 段落 -->
						{$row['dec']}
						<!-- 底部 -->
						<div class="list_bottom">
							<i class="icon-doc-text black"></i>阅读：<strong>{$row['read']}</strong> | 
							<i class="icon-comment black"></i>评论：<strong>{$row['pinglun']}</strong> | 
							<i class="icon-plus green"></i>转载：<strong>没用</strong> | 
							<i class="icon-star yello"></i>收藏：<strong>{$row[like]}</strong> | 
							<a class="yuanwen" href="{:U('detail',array('id'=>$row['id']))}">查看原文<i class="icon-right-open-1 black"></i></a>
							<div class="clear"></div>
						</div>
					</div>
				</div>
				<div class="clear"></div>
				<!-- 文章end -->
				<?php } ?>
				

				<!-- 翻页 -->
				<div class="clear"></div>
				<div class="change">
					<a href="{:U('index',array('page'=>$page-1))}">上一页</a>第：<strong>{$page}</strong>页 | 共：<strong>{$allpage}</strong>页 <a href="{:U('index',array('page'=>$page+1))}">下一页</a>
				</div>
				<!-- 翻页 -->
			</div>
			<img src="__PUBLIC__/images/yinying.png" alt="">
		</div>
		<div class="clear"></div>
	</div>
	<!-- 内容 -->
</div>	

<script src="__PUBLIC__/js/jquery-1.11.3.min.js"></script>
<script src="__PUBLIC__/js/index.js"></script>
</body>
</html>
